import layout from '@/layout'
export default {
  path: '/department',
  component: layout, // 这里的layout是一级路由
  children: [{
    path: '', // 二级路由为空，二级默认路由
    component: () => import('@/views/department'),
    name: 'department',
    meta: { // 路由元信息
      icon: 'tree', // 图标
      title: '组织' // 标题
    }
  }]
}
